package com.ycz.sportplay.service;

import com.ycz.sportplay.bean.User;

import java.util.List;

public interface UserService {

    User getUserByMessage(String username, String password);

    int getUserCounts(String query);

    List<User> getUserList(String query, int pageStart, Integer pageSize);

    int updateState(Integer id, boolean state);

    int addUser(User user);

    int deleteUser(Integer id);

    User getUserById(Integer id);

    int editUser(User user);
}
